#!/bin/bash


### sudoer ###
(grep "zabbix" -lr /etc/sudoers)||cat >> /etc/sudoers << EOF
zabbix ALL=(ALL)    NOPASSWD: /bin/netstat
Defaults:zabbix !requiretty
EOF

